package cn.bandeqing.attachment.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class AttachmentUploadReq implements Serializable {

    @NotBlank
    private String fileOriginalName;

    @NotBlank
    private String fileSuffix;

    @NotBlank
    private String fileName;

    @NotBlank
    private String filePath;

    @NotNull
    private Long fileSize;

    @NotBlank
    private String fileType;

    @NotNull
    private Integer objType;

    private Long objId;

    private String objIdStr;

    private Long userId;

    private String userName;

}
